package com.atwulidun.composite08;

public class Department extends OrganizationComponent {

    public Department(String name, String des) {
        super(name, des);
    }
    // 系是叶子结点，因此不需要增加和删除方法
    @Override
    protected void print() {
        System.out.println(getName());
    }
}
